
// /
import request from "@/utils/request.js";


// 获取培训结果
export const trainDetail = (id) => {
	let option = {
		method: "get",
		loading: true,
	};
	return request('/api/train/'+id||'', {}, option)
}
// 

export const getUserInfo = () => {
	let option = {
		method: "get",
		loading: true,
	};
	return request('api/student', {}, option)
}